<cfcomponent extends="TracRpcAdapterAbstractTest">

	<cfset variables.projectTest = createObject("component","ProjectTest") />
	<cfset variables.ticketAttributeTest = createObject("component","TicketAttributeTest") />
	<cfset variables.projectTest.setUp() />
	<cfset variables.ticketAttributeTest.setUp() />

	<cffunction name="testGetProjectMilestoneMultiCall" returntype="void" access="public">
		<cfset variables.projectTest.testGetProjectMilestoneMultiCall() />
	</cffunction>

 	<cffunction name="testGetTicketComponentMultiCall" returntype="void" access="public">
		<cfset variables.ticketAttributeTest.testGetTicketComponentMultiCall() />
	</cffunction>

	<cffunction name="testGetTicketPriorityMultiCall" returntype="void" access="public">
		<cfset variables.ticketAttributeTest.testGetTicketPriorityMultiCall() />
	</cffunction>

	<cffunction name="testGetTicketVersionMultiCall" returntype="void" access="public">
		<cfset variables.ticketAttributeTest.testGetTicketVersionMultiCall() />
	</cffunction>

	<cffunction name="testGetTicketResolutionMultiCall" returntype="void" access="public">
		<cfset variables.ticketAttributeTest.testGetTicketResolutionMultiCall() />
	</cffunction>

	<cffunction name="testGetTicketSeverityMultiCall" returntype="void" access="public">
		<cfset variables.ticketAttributeTest.testGetTicketSeverityMultiCall() />
	</cffunction>

	<cffunction name="testGetTicketStatusMultiCall" returntype="void" access="public">
		<cfset variables.ticketAttributeTest.testGetTicketStatusMultiCall() />
	</cffunction>

	<cffunction name="testGetTicketTypeMultiCall" returntype="void" access="public">
		<cfset variables.ticketAttributeTest.testGetTicketTypeMultiCall() />
	</cffunction>

	<cffunction name="testGetTicketMultiCall" returntype="void" access="public">
		<cfset var params = structNew()>
		<cfset var results = "" />
		<cfset results = multiCall( '<?xml version="1.0" encoding="UTF-8"?><methodCall><methodName>system.multicall</methodName><params><param><value><array><data><value><struct><member><name>params</name><value><array><data><value><i4>1</i4></value></data></array></value></member><member><name>methodName</name><value>ticket.get</value></member></struct></value><value><struct><member><name>params</name><value><array><data><value><i4>2</i4></value></data></array></value></member><member><name>methodName</name><value>ticket.get</value></member></struct></value></data></array></value></param></params></methodCall>') />
		<cfset assertComplexValue(value=results) />
	</cffunction>

</cfcomponent>